<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="#">将活动添加至轮播图</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form" action="{:U('Businessactivity/addActivityRecommend')}">
			<fieldset>
				<div class="control-group">
					<label class="control-label">图片</label>
					<div>
						<input type="hidden" name="image" id="thumb" value="">
						<a href="javascript:upload_one_image('图片上传','#thumb');">
							<img src="__TMPL__Public/assets/images/default-thumbnail.png" id="thumb-preview" width="135" style="cursor: hand;margin-left:30px" />
						</a>
						<input type="button" class="btn btn-small" onclick="$('#thumb-preview').attr('src','__TMPL__Public/assets/images/default-thumbnail.png');$('#thumb').val('');return false;" value="取消图片">
					</div>
				</div>
			</fieldset>
			<input type="hidden" name="id" value="{$id}">
			<div class="form-actions">
				<button type="submit" class="btn btn-primary js-ajax-submit">{:L('ADD')}</button>
				<a class="btn" href="javascript:history.back(-1);">{:L('BACK')}</a>
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>